
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>方案添加</title>
    <link rel="stylesheet" href="css/common-css/pc-common.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="css/message-add.css"/>
    <script src="js/common-js/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/jquery-ui.css" />
    <script type="text/javascript" src="js/jquery-ui-datepicker.js"></script>
    <script type="text/javascript" src="js/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="js/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加载语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" src="js/ueditor/lang/zh-cn/zh-cn.js"></script>
    <script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/common-js/meitubase.js"></script>
    <script type="text/javascript" src="/js/message-add.js"></script>
    <script type="text/javascript" src="/js/schemamanage/schema_add.js"></script>
    <!-- meitu -->
	<div id="layerCut" class="layerCut">
		<div id="altContent"></div>
	</div> 
</head>
<body>
  <div class="header" id="header">
      <h1 class="f-l logo">艾的教育</h1>
        <ul class="login clearfix">
        	<li>
                <a href="javascript:;" class="clearfix">
                    <p><a title="点我退出登陆" class="clearfix" href=/logout>您好，${Session["user"].user_name}</a></p>
                </a>
            </li>
        </ul>
    </div>
    <div class="datamain clearfix" id="main">
        <div class="right-content">
            <div class="content fa">
                <div class="fa-bq"><a href="">
                <#if b_id == 1><a href="manager_scheme_show?b_id=1&title=">家长方案</a></#if>
                <#if b_id == 2><a href="manager_scheme_show?b_id=2&title=">教师方案</a></#if>
                </a><span>/</span>新建方案</div>
                <div class="fa-main clearfix">
                    <div class="fa-zuo">
                        <div class="upload" id="up"><img src="<#if message_map??>${message_map.route!}<#else>images/bg_img.png</#if>" id="image_upload" alt=""></img></div>
                        <p class="dot title"><#if message_map??>${message_map.title!}</#if></p>
                        <div class="fa-show"><label><input type="checkbox"/>封面显示在正文中</label></div>
                    </div>
                    <form id="formid" method="post" action="manager_message_insert">
                    	<input type="hidden" id="cover_url" name="cover_url" value="<#if message_map??>${message_map.route!}</#if>" >
                    	<input type="hidden" name="id" value="${id!}" id="mess_id" >
                    	<div class="fa-you">
	                        <div class="nr-con">
	                        	<#--name="b_id"很重要-->
	                        	<div><input type="hidden" name="b_id" id="b_id" value="${b_id!}" /></div>
	                            <div class="nr clearfix fa-title">
	                                <p class="nr-l">标题</p>
	                                <div class="nr-r"><input type="text" placeholder="请输入标题" id="title" name="title" value="<#if message_map??>${message_map.title!}</#if>" /></div>
	                            </div>
	                            <div class="nr clearfix fa-date">
	                                <p class="nr-l">日期</p>
	                                <div class="nr-r"><input class="date-btn" type="text" readonly placeholder="请输入日期，年／月／日" name="date" id="date" value="<#if message_map??>${message_map.create_date_new!}</#if>" /></div>
	                            </div>
	                            <div class="nr clearfix fa-writer">
	                                <p class="nr-l">作者</p>
	                                <div class="nr-r"><input type="text" placeholder="请输入作者" name="create_author" id="author" value="<#if message_map??>${message_map.create_author!}</#if>" /></div>
	                            </div>
	                            <div class="nr clearfix fa-dir">
	                                <p class="nr-l">方向</p>
	                                <div class="nr-r">
	                                	<input type="hidden" id="direc" value="<#if message_map??>${message_map.direction!}</#if>" />
										<select class="select-2" id="dir" name="direction">
					                    	<option value="请选择方向" selected >请选择方向</option>
					                    	<option value="1">认知能力</option>
					                    	<option value="2">语言能力</option>
					                    	<option value="3">大运动</option>
					                    	<option value="4">精细动作</option>
					                    	<option value="5">社交能力</option>
					                    	<option value="6">自理能力</option>
					                    	<option value="7">数学能力</option>
					                    	<option value="8">艺术能力</option>
					                    	<option value="9">专家指导</option>
					                	</select>
	                                </div>
	                            </div>
	                            <div class="nr clearfix fa-age">
	                                <p class="nr-l">年龄段</p>
	                                <div class="nr-r">
	                                <input type="hidden" name="age_stages" id="age_stages" value="<#if message_map??>${message_map.age_stage!}</#if>">
										<select id="age" name="age_stageses">
											<option value="请选择月份" selected>请选择月份</option>
					                		<option value="1">1个月</option>
					                        <option value="2">2个月</option>
					                        <option value="3">3个月</option>
					                        <option value="4">4个月</option>
					                        <option value="5">5个月</option>
					                        <option value="6">6个月</option>
					                        <option value="7">7个月</option>
					                        <option value="8">8个月</option>
					                        <option value="9">9个月</option>
					                        <option value="10">10个月</option>
					                        <option value="11">11个月</option>
					                        <option value="12">12个月</option>
					                        <option value="13">13个月</option>
					                        <option value="14">14个月</option>
					                        <option value="15">15个月</option>
					                        <option value="16">16个月</option>
					                        <option value="17">17个月</option>
					                        <option value="18">18个月</option>
					                        <option value="19-20">19-20个月</option>
					                        <option value="21-22">21-22个月</option>
					                        <option value="23-24">23-24个月</option>
					                        <option value="25-27">25-27个月</option>
					                        <option value="28-30">28-30个月</option>
					                        <option value="31-33">31-33个月</option>
					                        <option value="34-36">34-36个月</option>
					                        <option value="37-40">37-40个月</option>
					                        <option value="41-44">41-44个月</option>
					                        <option value="45-48">45-48个月</option>
					                        <option value="49-54">49-54个月</option>
					                        <option value="55-60">55-60个月</option>
					                        <option value="61-66">61-66个月</option>
					                        <option value="67-72">67-72个月</option>
					                        <option value="73-78">73-78个月</option>
                    					</select>
	                                </div>
	                            </div>
	                            <div class="nr clearfix fa-week">
	                                <p class="nr-l">周数</p>
	                                <div class="nr-r">
	                                	<input type="hidden" id="weeks" value="<#if message_map??>${message_map.week!}</#if>" />
										<select id="week" name="week">
											<option value="请选择周数" >请选择周数</option>
					                		<option value="1">第1周</option>
					                        <option value="2">第2周</option>
					                        <option value="3">第3周</option>
					                        <option value="4">第4周</option>
					                        <option value="5">第5周</option>
					                        <option value="6">第6周</option>
					                        <option value="7">第7周</option>
					                        <option value="8">第8周</option>
					                        <option value="9">第9周</option>
					                        <option value="10">第10周</option>
					                        <option value="11">第11周</option>
					                        <option value="12">第12周</option>
					                        <option value="13">第13周</option>
					                        <option value="14">第14周</option>
					                        <option value="15">第15周</option>
					                        <option value="16">第16周</option>
					                        <option value="17">第17周</option>
					                        <option value="18">第18周</option>
					                        <option value="19">第19周</option>
					                        <option value="20">第20周</option>
					                        <option value="21">第21周</option>
					                        <option value="22">第22周</option>
					                        <option value="23">第23周</option>
					                        <option value="24">第24周</option>
                    					</select>
	                                </div>
	                            </div>
	                            <div class="nr clearfix fa-sta">
	                                <p class="nr-l">标准(数字)</p>
	                                <div class="nr-r"><input type="tel" placeholder="请输入标准" id="fraction" name="criterion_num" value="<#if message_map??>${message_map.criterion_num!}</#if>" /></div>
	                            </div>
	                            <div class="nr-line"></div>
	                            <div class="nr clearfix editor">
	                                <p class="nr-l">正文</p>
	                                <div class="nr-r">
	                                    <script id="editor" type="text/plain" style="width:95%;height:400px;"><#if message_map??>${message_map.content!}</#if></script>
	                                </div>
	                               <input type="hidden" id="content_id" name="content" value='<#if message_map??>${message_map.content!}</#if>'>
	                            </div>
	                            <#-- <div class="nr clearfix fa-tag">
	                                <p class="nr-l">标签</p>
	                                <div class="nr-r"><input class="tag-btn" type="button" name="label" value="添加标签" /></div>
	                            </div>
	                           <div class="nr clearfix key">
	                                <p class="nr-l">标签关键字</p>
	                                <div class="nr-r"><input type="text" placeholder="请输入关键字" name="label_keyword" id="keyword" value="<#if message_map??>${message_map.label_keyword!}</#if>" /></div>
	                            </div>  -->
	                            <div class="nr-line"></div>
	                            <div class="nr clearfix fa-zy">
	                                <p class="nr-l">摘要</p>
	                                <div class="nr-r"><textarea  name="summary" placeholder="请输入摘要信息" id="summary" ><#if message_map??>${message_map.summary!}</#if></textarea></div>
	                            </div>
	                        </div>
	                        <div class="tijiao">
	                            <input class="sure-btn" type="button" value="保存表单" onclick="sub_message()"/>
	                            <input class="cancel-bttn" type="button" value="取消" onclick="window.history.back(); return false;"/>
	                            <input class="look-btn" type="button" value="预览" onclick="look_message()"/>
	                        </div>
                    	</div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    	
</body>
</html>
